#ifndef _VBUFFER_OGL_H_
#define _VBUFFER_OGL_H_

#include "ivbuffer.h"
#include <windows.h>
#include <gl/gl.h>

class vbuffer_ogl: public vbuffer
{
	friend class render_ogl;
public:
	vbuffer_ogl(u32 _context,u32 _size,buffer_usage _usage,u32 _format,u32 _block_size);
	~vbuffer_ogl();

	void* lock(buffer_lock _lock);
	void unlock();

protected:
	//#TODO
};

class ibuffer_ogl: public ibuffer
{
	friend class render_ogl;
public:
	ibuffer_ogl(u32 _context,u32 _size,buffer_usage _usage);
	~ibuffer_ogl();

	void* lock(buffer_lock _lock);
	void unlock();

protected:
	//#TODO
};

#endif